/**
   @file memory.h
   @brief Prototypes to use the memory workload.
 */

#ifndef WG_MEMORY_GENERATOR_HEADER
#define WG_MEMORY_GENERATOR_HEADER

#include "resource_model.h"

/** Read bytes sequentially from a block of memory. */
int memory_read_bytes(unsigned char *, unsigned char *, unsigned long, unsigned int);

/** Write bytes sequentially to a block of memory. */
int memory_write_bytes(unsigned char *, unsigned char *, unsigned long, unsigned int);

/** Setup the memory workload. */
resource_model *setup_memory(cJSON *);

#endif
